﻿using System;
using System.Net;

namespace SomeKit.Http
{
    /// <summary>
    /// Basic helper class for doing http calls.
    /// </summary>
    public static partial class HttpHelper
    {
        #region Verbs.
        /// <summary>
        /// The standard verbs used in most cases.
        /// </summary>
        public static class Verbs
        {
            public const string GET = "GET";
            public const string POST = "POST";
            public const string PUT = "PUT";
            public const string DELETE = "DELETE";
        }
        #endregion

        #region Serialization.
        /// <summary>
        /// The standard serialization schemes used.
        /// </summary>
        public static class SerializationType
        {
            public const string XML = "application/xml";
            public const string JSON = "application/json";
        }
        #endregion
    }
}
